/**
 * 
 */
package edu.unicen.compilers.actions;

import edu.unicen.compilers.lexicon.LexicalAnalyzer;
import edu.unicen.compilers.parser.Parser;

/**
 * @author mtrotti
 *
 */
public class SemanticAction1 extends SemanticAction {

	public SemanticAction1(LexicalAnalyzer la, Parser parser) {
		super(la, parser);
	}

	/**
	 * Init Lexical Analyzer with current character
	 */
	@Override
	public void execute() {
		this.la.setLexeme(Character.toString(la.getLastCharacter()));
	}

}
